package com.qinge.blog.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author QDW
 * @date 2022/5/15 14:46
 * @description 文件上传配置
 **/
@Data
@Configuration
@ConfigurationProperties(prefix = "conf.upload")
public class UploadConfig {

    /**
     * 访问路径
     */
    private String url;

    /**
     * 物理目录
     */
    private String dir;

}
